package com.yule.flow.model;

import java.io.Serializable;
import java.util.Date;
import org.springframework.stereotype.Component;

/**
 * flow_message
 * @author 
 */
@Component
public class FlowMessage implements Serializable {
    private Integer id;

    /**
     * 租户id
     */
    private Integer corpId;

    /**
     * 业务数据id
     */
    private Integer dataId;

    /**
     * 流程id
     */
    private Integer flowId;

    /**
     * 节点id
     */
    private Integer nodeId;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 内容
     */
    private String content;

    /**
     * 发件人id
     */
    private Integer sendId;

    /**
     * 发送时间
     */
    private Date sendTime;

    /**
     * 收件人id
     */
    private Integer receiveId;

    /**
     * 查看时间
     */
    private Date readTime;

    /**
     * 状态 - 1未读2已读
     */
    private Integer status;

    /**
     * 是否删除 - 0否1是
     */
    private Boolean isDel;

    private static final long serialVersionUID = 1L;
}